/*global Vue*/
import Router from 'vue-router'
import Main from '@/components/Main'
//todo 子路由路径不能有/
export default new Router ({
  routes: [
    {
      path: '/',
      redirect: '/main'
    },
    {
      path: '/main',
      component: Main,
    }
  ]
})
